package dashboard.service;

import com.bj58.ecdata.calc.dbservice.service.BusslineEnum;
import com.bj58.ecdata.calc.dbservice.service.DataDisplayService;
import com.bj58.ecdata.calc.dbservice.service.MapTopTypeEnum;
import com.bj58.ecdata.calc.dbservice.service.MarketTypeEnum;
import com.bj58.ecdata.calc.dbservice.service.PlatformEnum;
import com.bj58.ecdata.calc.dbservice.service.TypeEnum;

@Deprecated
public class DataDispService {
	private static DataDisplayService dispLocalService = SCFClient.getRemoteService(DataDisplayService.class);

	public static String getConsumeWithToday(PlatformEnum platform, BusslineEnum bussline) {
		return dispLocalService.getConsumeWithToday(platform, bussline);
	}

	public static String getDataWithFineGrained(TypeEnum type, PlatformEnum platform, BusslineEnum bussline, long time) {
		return dispLocalService.getDataWithFineGrained(type, platform, bussline, time);
	}

	public static String ping() {
		return dispLocalService.ping();
	}

	public static String getDataToday(TypeEnum type, PlatformEnum platform, BusslineEnum bussline, long time) {
		return dispLocalService.getDataToday(type, platform, bussline, time);
	}

	public static String getDataOfYesterday(TypeEnum type, PlatformEnum platform, BusslineEnum bussline) {
		return dispLocalService.getDataOfYesterday(type, platform, bussline);
	}

	public static String getMapData(MarketTypeEnum marketType, int pointNum) {
		return dispLocalService.getCityClickData(marketType, pointNum);
	}

	public static String getMapDataTotalWithToday(TypeEnum type) {
		return dispLocalService.getSumWithToday(type);
	}

	public static String getClickMapTopList(MapTopTypeEnum type, int count) {
		return dispLocalService.getClickMapTopList(type, count);
	}

	public static String getClickMapDataDetail(int count) {
		return dispLocalService.getClickMapDataDetail(count);
	}
}
